<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
         <meta name="format-detection" content="telephone=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="css/base.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <link rel="stylesheet" href="css/mui.css" />
	<script type="text/javascript" src="js/mui.js" ></script>
	<script src="js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage")
    		$(".loading").fadeOut(300)
    	})
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<!--<header class="top-header fixed-header">
		<a class="icona" href="javascript:history.go(-1)">
				<img src="images/back.jpg"/>
			</a>
		<h3>收货地址</h3>
			
			<a class="text-top" href="go-address.html" style="color: #FFF;">
				添加
			</a>
</header>-->
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">标题</h1>
	    <a class="text-top" href="go-address.html" style="color: #000000;float: right; margin-top: 3%;">
				添加
			</a>
	</header>
	
	
	<div class="contaniner fixed-conta" id="site">
		<!--<dl class="address">
			<a href="go-address.html">
				<dt>
					<p>瑾晨</p>
					<p>13035059860</p>
					<small></small>
				</dt>
				<dd>安徽省合肥市XXXXXXXX</dd>
			</a>
		</dl>-->
		
	</div>
	
	
	
	

</body>
<script>
	$(function(){
		$.post("http://192.168.43.241:8080/shop/showUserSite.do",
			{userid:111111111},function(data){
			var dataObj=eval("("+data+")");
			//var proidone = document.getElementById('proidone');
			var html='';
			for(var i=0;i<dataObj.length;i++){
				var a;
				if(dataObj[i].scode=="默认"){
					a="<small>默认</small>";
					//alert(a);
				}else{
					a="";
				}
				//alert(dataObj[i].suser+" "+dataObj[i].userid);
				html+="<dl class='address'><a href='go-address.html'>"
				+"<dt><p>"+dataObj[i].suser+"</p><p>"+dataObj[i].sphone+"</p>"
				+a+"</dt>"
				+"<dd>"+dataObj[i].ssite+"</dd></a></dl>"
				;
				
	     	} 
	     	document.getElementById('site').innerHTML=html;
		});
		
		/*$.post("http://192.168.43.241:8080/shop/showUserSite.do",
			{userid:111111111},function(data){
			var dataObjk=eval("("+data+")");
			
			for(var a=0;a<dataObjk.length;a++){
				if(dataObjk[a].scode==0){
					document.getElementById('moren').setAttribute('style', "display: none;");
				}	
	     	}  	
		});*/
	});
	
</script>
</html>